package cn.monkey.family.data.crud.repository;

import org.springframework.data.repository.NoRepositoryBean;

import java.util.List;

/**
 * Interface for generic CRUD operations on a repository for a specific type. This an extension to
 * {@link CrudRepository} returning {@link List} instead of {@link Iterable} where applicable.
 *
 * @author Jens Schauder
 * @see CrudRepository
 * @since 3.0
 */
@NoRepositoryBean
public interface ListCrudRepository<T, ID> extends CrudRepository<T, ID>, org.springframework.data.repository.ListCrudRepository<T, ID> {

}
